@echo off
echo Cleaning npm cache...
npm cache clean --force

echo Deleting node_modules folder...
rmdir /s /q node_modules

echo Deleting package-lock.json...
del package-lock.json

echo Reinstalling dependencies with maximum memory...
set NODE_OPTIONS=--max-old-space-size=16384
npm install

echo Installation completed.
pause